import request from '@/utils/request.js'
export function getFieldList(){
	return request({
		url: 'fieldManage/getFieldList',
		method: 'get',
	})
}
export function changeStatus(data){
	return request({
		url: 'fieldManage/changeStatus',
		method: 'put',
		data
	})
}

export function setImeiToPhone(data){
	return request({
		url: 'fieldManage/setImeiPhone',
		method: 'put',
		data
	})
}

export function exceImeiToPhone(data){
	return request({
		url: 'excels/upload/imeiToPhone',
		method: 'post',
		data,
		headers:{
			// 'Content-type': 'multipart/form-data'
			"Content-Type": "application/x-www-form-urlencoded;charset=utf-8"
		}
	})
	
}

